package cn.tedu.bonfire.front.content.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class CommentListItemVO implements Serializable {

    private Long id;


    private Long authorId;

    private String authorName;

    private Integer resourceType;

    private Long resourceId;

    private String resourceBrief;

    private String content;

    private String ip;

    private Integer floor;

    private Integer upCount;

    private Integer downCount;

    private Integer checkState;

    private Integer isDisplay;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm.ss")
    private LocalDateTime gmtCreate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm.ss")
    private LocalDateTime gmtModified;

    private String avatar;

    private Long likeTimes;
}
